<%@page contentType="text/html;charset=utf-8" pageEncoding="UTF-8"%>
<%@page  language="java" import="org.ipo.mm.web.util.*, java.util.*,org.ipo.mm.ejb.entities.Institution"%>
<%@taglib prefix="h" uri="http://struts.apache.org/tags-html"%>
<script type="text/javascript">	
//Autocomplete var
<%
if(request.getAttribute("allInst")!=null){
List<Institution> allInst = (List<Institution>)request.getAttribute("allInst");%>
var allInst =[<%for (Iterator<Institution> it = allInst.iterator(); it.hasNext();) {Institution ins = it.next();
         %>'<%=ins.getName()%>'<%if (it.hasNext()){%>,<%}%><%}%>];
<%}%>
 </script>	